package org.example.codegenerate.modelext.WebVo.annotation.Column;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.*;

@Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER, TYPE_USE })
@Retention(RetentionPolicy.RUNTIME)
public @interface ForeignKeyVo {
     String mainTable() default "";//null ,可选的值test_order_main     外键-主表名
     String mainField() default "";//null，id，应该是主表的PK           外键-主表字段
}
